<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	</head>
	<body>
		<div class="container">
			<div class="p-2 mr-4 bg-warning d-inline">div显示为inline（行内）</div>
			<div class="p-2 bg-warning d-inline">div显示为inline（行内）</div>
			<h3 class="border border-primary mt-4">h3为块级元素</h3>
			<span class="d-block border bg-info">d-block</span>
			<span class="d-block border-dark bg-secondary">d-block</span>
			<!-- inline 在行
			span行内元素，特点：没有宽高，所有元素在一行 -->
		</div>
		<div class="container">
			<div class="p-4 bg-warning float-left">div1</div>
			<div class="p-4 bg-danger float-right">div2</div>
		</div>
	</body>
</html>
